package com.nuedu.corejava.ch3.homework;

public class SelectHomeWork7 {
	public static void main(String[] args) {
		 int n = 201;
	        while (true)
	        { boolean b = true;
	            for (int i = 2; i < n; i++)
	            {if (n % i == 0) {b = false;}
	            }
	            if (b) {break;}
	            n++;
	        }
	        System.out.println(n);
		}
	}


